package cn.lin.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * TODO 课程
 * @author cn.Lin
 * @create 2024-12-01-21:21
 */
@Getter
@Setter
public class Course {

    private Integer id;

    private String courseName;

    private String courseDesc;

    /**
     * 机构id
     */
    private Integer companyId;

    /**
     * 创建者id
     */
    private Integer createdId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdDate;

}
